package com.java1234.service;

import java.sql.Connection;
import java.sql.ResultSet;

import com.java1234.dao.IBorrowerDao;
import com.java1234.dao.impl.BorrowerImpl;
import com.java1234.model.Book;
import com.java1234.model.Borrower;

public class BorrowerService {
	private IBorrowerDao borrowerDao = new BorrowerImpl();

//	public void add(Connection con,Borrower borrower)throws Exception;//借阅者信息增加
//	
//	public void list(Connection con, Borrower borrower) throws Exception;//借阅者信息查询
//	
//	public void delete(Connection con, String borrowerAccount) throws Exception;//借阅者信息删除
//	
//	public void update(Connection con, Borrower borrower) throws Exception;//借阅者信息修改
//	
//	public void existBorrowerByBorrowerAccount(Connection con, String borrowerAccount) throws Exception;//指定借阅者账户下是否存在借阅者

//	public void borrow(Connection con, Borrower borrower,Book book) throws Exception{
//		borrowerDao.borrow(con, borrower, book);
//	}
}
